{foreach from=$aMenuItems item=aMenuItem}
 	<td class="menu" onclick="javascript:window.location.href='{$aMenuItem.url}';" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">
 		<a href="{$aMenuItem.url}">{$aMenuItem.title}</a>
 	</td>
{/foreach}